package name.matthewgreet.example3.vo; import java.io.Serializable; public class CountryDTO implements Serializable { private static final long serialVersionUID = 5949321889724734029L; private int id; private String code; private String name; private String notes; public CountryDTO() { super(); } public CountryDTO(int id, String code, String name) { super(); this.id = id; this.code = code; this.name = name; } public CountryDTO(CountryDTO other) { super(); this.id = other.getId(); this.code = other.getCode(); this.name = other.getName(); } public int getId() { return id; } public void setId(int id) { this.id = id; } public String getCode() { return code; } public void setCode(String code) { this.code = code; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getNotes() { return notes; } public void setNotes(String notes) { this.notes = notes; } @Override public String toString() { return "CountryVO [id=" + id + ", code=" + code + ", name=" + name + ", notes=" + notes + "]"; } }